]> dgit.raspbian.org Git - gnome-shell.git/commit
popupBaseMenuItem: Add support for Hidden Ornament
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 13 Sep 2019 15:59:16 +0000 (17:59 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Fri, 20 Sep 2019 15:53:42 +0000 (15:53 +0000)
commitaf1aabff75cc62d178e9166464fada6b47bb3299
treeb8747c90ec6c60dcf6fced37da49deeb3ec82939
parentd6ba6dc554d0ee077f5ea692a8dfc4e0f59215ce
popupBaseMenuItem: Add support for Hidden Ornament

The menu item ornament is used to put dots or checks in menus or otherwise
to define a padding for a label.
However in some cases we want to create a menu item with no left (in ltr)
padding.

In order to do that, define a HIDDEN Ornament mode that completely hides the
ornament actor.

The naming here might be confusing as this should probably be called NONE,
while the default mode is the invisible one, but it's too late to change it
now.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/720
js/ui/popupMenu.js